package com.chainyoung.component_tmtrade.ui.mvp.contract;

import com.chainyoung.common.appcommon.entity.CommonList;
import com.chainyoung.common.mvp.IModel;
import com.chainyoung.common.mvp.IView;
import com.chainyoung.component_tmtrade.bean.FiatOrder;
import com.chainyoung.component_tmtrade.bean.TradeCurrencyItem;

import java.util.TreeMap;

import io.reactivex.Flowable;

public interface TradeFiatCurrencyOrderContract {


    interface View extends IView {

        void onGetOrderListSuccess(CommonList<FiatOrder> data);
        void onGetOrderListFailed();

    }

    interface Model extends IModel {
        Flowable<CommonList<FiatOrder>> getOrderList(TreeMap<String, Object> map);


    }
}
